package com.ddxz.data.dir.controller;

import com.ddxz.data.dir.dto.DirectoryHeader;
import com.ddxz.tool.web.annotation.DdxzRequestHeader;
import com.ddxz.tool.web.dto.DdxzResponse;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * class description
 *
 * @author 朱宗刚
 * @version 1.0.0
 * @date 2020/9/16
 */

@RestController
@Api("目录管理")
public class DirController {
    @ApiOperation(value = "保存目录", consumes = "application/json", produces = "application/json",
            notes = "")
    @RequestMapping(value = "/directory/save", method = RequestMethod.POST)
    public DdxzResponse addDirectory(@DdxzRequestHeader DirectoryHeader header) {
        return null;
    }
}
